import Router from 'koa-router';
import { Demo as DemoController} from '../controller/demo';
import { UserController } from '../controller/user';
const router = new Router();

router.get('/demo', DemoController.getDemo);

router.post('/login', UserController.login);
router.post('/register', UserController.register)

export const v1Routes = router.routes();